import java.io.Serializable;

public class ClientStatus implements Serializable
{
    public String ipAddress;
    public int recvPort;
    public boolean isOnline;

    public ClientStatus(String ip, int recvPort, boolean isOnline)
    {
        this.ipAddress = ip;
        this.recvPort = recvPort;
        this.isOnline = isOnline;
    }

    public String toString()
    {
        return String.format("%s:%d %b", ipAddress, recvPort, isOnline);
    }
}
